package com.example.demo.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @AUTHOR LYF
 * @DATE 2022/2/14
 * @VERSION 1.0
 * @DESC
 * 配置服务站点？
 *  WebApplicationObjectSupport implements InitializingBean, SmartInitializingSingleton
 *
 */
@Configuration
public class WebSocketConfig {
    @Bean
    ServerEndpointExporter serverEndpointExporter(){return new ServerEndpointExporter();}
}
